module.exports = {

    version: '1.2.55',
    port: 9124,
    apiPrefix: 'http://localhost:9024',  //本地开发的接口前缀
    publicPath: '/',  //基本路径
    outputDir: '../dist/console',  //输出文件目录

    //用户钱包金额变更类型
    userGoldChangeTypes: [
        {id: 1, name: '固定分佣'},
        {id: 2, name: '合伙人分佣'},
        {id: 3, name: '提现'}
    ],

    //促销活动类型
    promotionTypes: [
        {id: 1, name: '定金预售', short_name: '预', color: '#3c9cff', type: 'primary', utype: 'primary'},
        {id: 2, name: '限时秒杀', short_name: '限', color: '#5ac725', type: 'success', utype: 'success'},
        {id: 3, name: '拼团抢购', short_name: '拼', color: '#f56c6c', type: 'danger', utype: 'error'},
        {id: 4, name: '特价专区', short_name: '特', color: '#f9ae3d', type: 'warning', utype: 'warning'}
    ],

    //促销活动的状态
    promotionStatuses: [
        {id: 1, name: '编辑中'},
        {id: 99, name: '已删除', selectHidden: true},
        {id: 3, name: '待合伙人购买', type: 'danger'},
        {id: 5, name: '时间未开始', selectHidden: true,}, //此状态计算得出，数据表中没有
        {id: 6, name: '售罄', selectHidden: true,},  //此状态计算得出，数据表中没有
        {id: 7, name: '进行中', type: 'success'}, //注意！拆分出：活动未开始、活动进行中、活动已结束、售罄
        {id: 8, name: '活动到期', type: 'info', selectHidden: true,},  //此状态计算得出，数据表中没有
        {id: 9, name: '活动暂停', type: 'warning'},
        {id: 11, name: '活动结束', type: 'primary'},  //记得给合伙人分配佣金
        {id: 15, name: '已分配佣金', type: 'success'}
    ],

    //订单状态
    orderStatuses: [
        {id: 1, name: '待支付', value: '顾客待支付', type: 'info', plain: true, icon: 'zsf-icon-xinbaniconshangchuan-'},
        {id: 99, name: '已删除', selectHidden: true,},
        {id: 3, name: '待支付尾款', value: '顾客待支付尾款', type: 'info', plain: true},
        {id: 5, name: '备货中', value: '顾客已支付、商家备货中', type: 'primary', icon: 'zsf-icon-shijian00'},
        {
            id: 7,
            name: '待收货',
            value: '商家已发货、顾客待收货',
            type: 'warning',
            plain: true,
            icon: 'zsf-icon-fahuoshijian'
        },
        {id: 9, name: '待评价', value: '顾客已收货待评价', type: 'danger', plain: true, icon: 'zsf-icon-pingjia'},
        {id: 21, name: '已完成', value: '顾客已评价、订单已完成', type: 'success', icon: 'zsf-icon-tuikuan'},
        {id: 11, name: '申请退货', value: '顾客已申请退货', type: 'warning'},
        {id: 12, name: '尾款已退，首付款未退', selectHidden: true},
        {id: 22, name: '退货完成', value: '商家处理退货已完成', type: 'success', plain: true}
    ],

    // 收货方式
    takeGoodsTypes: [
        {id: 1, name: '到店自提', type: 'primary'},
        {id: 2, name: '同城配送', type: 'danger'},
        {id: 3, name: '异地快递', type: 'warning'}
    ],

    // 用户申请实名认证的状态
    userApplyCertStatuses: [
        {id: 1, name: '申请认证', type: 'primary'},
        {id: 2, name: '通过认证', type: 'success'},
        {id: 3, name: '拒绝认证', type: 'warning'},
    ],

    // 用户申请提现的状态
    userApplyGoldStatuses: [
        {id: 1, name: '申请提现', type: 'primary'},
        {id: 2, name: '财务已打款', type: 'success'},
        {id: 3, name: '拒绝提现', type: 'warning'},
    ],

}

